﻿@model LastoRevival.Service.Contracts.Models.ViewUserModel
@using LastoRevival.Website;


@{ 
	this.AddIndexBreadCrumb();
	this.AddUserListBreadCrumb();
	this.AddCurrentBreadCrumb(Model.Details.Username);
}

@if (Model.CanEdit)
{
	<a id="edit-profile" href="@Url.Action("EditProfileForm", "User", new { username = Model.Details.Username })">@LanguageLoader.GetWord("EditUserProfileLink")</a>
	<a id="edit-settings" href="@Url.Action("EditSettingsForm", "User", new { username = Model.Details.Username })">@LanguageLoader.GetWord("EditUserSettingsLink")</a>
}
@if (Model.CanDelete)
{
	<a id="delete-user" href="@Url.Action("ConfirmDeleteUser", "Admin", new { username = Model.Details.Username })">@LanguageLoader.GetWord("DeleteUserLink")</a>
}
<div id="view-user">


	@Html.Partial("UserDetails")

	<div id="messaging">
		[textbox to send the user a PM]
	</div>

</div>